package org.desktop.web.shared.domain.user.bean;

import org.desktop.web.shared.domain.entities.Role;
import org.desktop.web.shared.domain.entities.User;

import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;

public interface UserProperties extends PropertyAccess<User> {

	@Path("id")
	ModelKeyProvider<User> key();

//	ValueProvider<User, CustomersEnabled> customersEnabled();

	ValueProvider<User, Boolean> firstLogin();
//	
	ValueProvider<User, Boolean> locked();
	
	ValueProvider<User, String> login();
	
//	ValueProvider<User, byte[]> password();
	
	ValueProvider<User, Role> role();
	
	
	

}
